package com.gzx.qc.modular.check.service;

import com.gzx.qc.modular.check.bo.GzxCallCheckEditBo;
import com.gzx.qc.modular.check.bo.GzxCallCheckQueryBo;
import com.gzx.qc.modular.check.vo.GzxCallCheckVo;
import org.apache.kafka.clients.consumer.ConsumerRecord;
import vip.xiaonuo.common.mvc.service.BaseService;

import java.util.List;

/**
 * @author zjt
 * @description
 * @since 2025/7/29 15:30
 */
public interface GzxCallCheckService extends BaseService<GzxCallCheckEditBo, GzxCallCheckVo, GzxCallCheckQueryBo> {

    /**
     * 保存质检相关的话单
     *
     * @param consumerRecordList
     */
    void saveCallCheck(List<ConsumerRecord<String, String>> consumerRecordList);

    /**
     * 质检审批
     *
     * @param callCheckEditBo
     */
    void review(GzxCallCheckEditBo callCheckEditBo);
}
